package com.model;

public class Goods {
    private int id;
    private String name;
    private double price;
    private String imagePath;
    private String mark;
    private double quantity;



    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getImagePath() {
        return imagePath;
    }

    public void setImagePath(String imagePath) {
        this.imagePath = imagePath;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public double getQuantity() {
        return quantity;
    }

    public void setQuantity(double quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "Goods{" + "id=" + id +
                ", name=" + name +
                ", price=" + price +
                ", imagePath=" + imagePath +
                "mark"+mark+
                "quantity"+quantity +'}';
    }
}
